package com.viknix.springboot.demo.service;

import com.viknix.springboot.demo.config.Config;
import org.springframework.context.annotation.Conditional;

import java.util.Map;

/**
 * @Author: Dongqi
 * @Date: 2021/11/20 13:07
 * @Version 1.0
 * @Description:
 */
public interface ConditionalService {

    /**
     * 测试 {@link Conditional} 注解
     *
     * @return 生效的配置类
     */
    Map<String, Config> testConditional();
}
